
import Vue from 'vue'
import VueRouter from 'vue-router';

import home from "@/components/content/home/home";
import market from "@/components/content/market/market";
import cart from "@/components/content/cart/cart";
import mine from "@/components/content/mine/mine";
Vue.use(VueRouter)

export default new VueRouter({
  routes: [
    	{
			path:"/home",
			component:home
		},
		{
			path:"/market",
			component:market
		},
		{
			path:"/cart",
			component:cart
		},
		{
			path:"/mine",
			component:mine
		},
		{
			path:"/",
			redirect:'/home'
		}
  ]
})
